package com.appointment.dto;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class ProfessorSimpleListRequestDto {

    @NotNull(message = "专家姓名不能为空")
    @Size(min = 0, max = 20, message = "专家姓名长度不能超过20")
    private String name;
}
